package com.wb.system.service;

import com.wb.common.vo.*;
import com.wb.system.domain.ExamRecordVO;
import com.wb.system.domain.ExamRecordsEntity;
import com.wb.system.domain.ExamsEntity;
import com.wb.system.domain.WrongQuestionsEntity;

import java.util.List;

public interface ExamsService {
    List<ExamsEntity> selectExamsList(ExamsModelVO examsModelVO);

    ExamsEntity selectById(Long id);

    void saveExams(ExamsEntity examsEntity);

    void updateExamsById(ExamsEntity examsEntity);

    void removeExamsByIds(List<Long> ids);


    String examsStart(Long id);

    boolean examsSubmit(ExamsSubmitVO vo);

    ExamRecordVO examsResults(Long id);

    List<ExamRecordsEntity> history(ExamsHistoryModelVO vo);

    ExamsStatsStatistic stats(ExamsStatsModelVO vo);

    List<WrongQuestionsEntity> wrongQuestions(ExamsWrongQuestionsModelVO vo);

    List<ExamsTypeStatsStatistic> typeStats(ExamsStatsModelVO vo);

    ExamsStatsQuestionStatistic statsQuestion(ExamsStatsQuestionModelVO vo);
}
